Ticket #675 (closed enhancement: fixed)

Opened 19 months ago

Last modified 6 months ago

Use "php -l" for lint checking and not PHPUnit

Reported by: sb Owned by: mapi
Priority: major Milestone:
Component: phpUnderControl Version: phpUnderControl 0.5.0
Keywords: lint, syntax check Cc:
PHP Version: 5.3-CVS

Description

  • Add a lint target to the default build.xml file that runs php -l on all *.php files of the project.
  • This should be the first task after checkout.
  • Other tasks depend on the new lint task.
  • Invoke PHPUnit with --no-syntax-check to speed up test execution.

Change History

Changed 7 months ago by sb

  • milestone phpUnderControl 0.5.0 deleted

Milestone phpUnderControl 0.5.0 deleted

Changed 6 months ago by proofek

  • status changed from new to assigned

Please see implementation on branch  ticket-675

Changed 6 months ago by mapi

  • keywords lint, syntax check added
  • status changed from assigned to closed
  • version set to phpUnderControl 0.5.0
  • resolution set to fixed

Fixed. Thanks to proofek who has provided a fix on  github.

Note: See TracTickets for help on using tickets.