65bc89ad7c
Merge remote-tracking branch 'origin/develop' into feature/46-automated-testing
2017-04-09 20:20:21 +02:00
a16ae7b8d4
TASK: Update to latest TypoScript tokenizer
...
* As official project does no longer modify the file to tokenize.
* Add tests to test integration.
2017-04-09 20:14:16 +02:00
cb6562b18e
Merge branch 'feature/46-automated-testing' into feature/gitlab-ci
2017-04-09 14:42:38 +02:00
Daniel Hürtgen
cf14c8dd7b
Merge pull request #57 from DanielSiepmann/hotfix/fix-broken-vendor-sniff
...
BUGFIX: Update string to replace missing vendor token
2017-04-09 14:13:40 +02:00
6528c391b2
FEATURE: Make each sniff run as a new test
...
* Allows running all further sniffs, even if a single sniff fails.
* Shows all issues at once in output.
* Use native SplFileInfo instead of Symfony, as we have no need for the
dependency.
Relates: #46
2017-04-09 13:40:10 +02:00
f373826cc6
BUGFIX: Update string to replace missing vendor token
...
* Using double quotes with method call didn't work the way.
* Use normal string concatenation instead.
2017-04-09 12:51:57 +02:00
0c733c5e80
Merge remote-tracking branch 'origin/develop' into feature/46-automated-testing
2017-04-09 12:46:43 +02:00
b8d84c5bdc
TASK: Add further linting
2017-04-09 00:14:27 +02:00
3e89316430
TASK: Make composer available as bin
2017-04-08 23:38:04 +02:00
ba20024783
TASK: Migrate to smaller alpine images
...
* To have faster downloads, smaller images, simpler installs
2017-04-08 23:32:11 +02:00
c511f1a70b
WIP|FEATURE: Test on multiple php versions
...
* Use different jobs to run in parallel.
* Use different docker image for each php version.
* Provide common way to install composer on each image.
2017-04-08 23:29:08 +02:00
a2eb6d799d
TASK: Install make to run install routine
2017-04-08 23:16:29 +02:00
bd3e6b080d
BUGFIX: Finish installation / setup on gitlab ci
...
* Install PHPCS Standard to execute with tests
2017-04-08 23:07:26 +02:00
3e33096a47
BUGFIX: Make tests work in gitlab ci env
2017-04-08 23:04:45 +02:00
92c973c7f4
WIP|FEATURE: Integrate gitlab ci
...
* Provide a way to run php unit functional tests
2017-04-08 22:58:03 +02:00
Daniel Hürtgen
84266c381d
Merge pull request #50 from DanielSiepmann/feature/42-deprecated-constants
...
Feature/42 deprecated constants
2017-04-08 12:35:43 +02:00
64bcf4fa72
WIP|TASK: try to ignore fixtures from inspection
2017-04-06 16:22:12 +02:00
0b21535f87
BUGFIX: Allow multiple runtime-set per test
...
Relates: #46
2017-04-06 16:11:29 +02:00
e957e5fe18
TASK: Refactor, follow CS and add more info on error
...
Relates: #46
2017-04-06 16:00:44 +02:00
65512dcd1d
FEATURE: Add tests for MissingNamespaceSniff
...
Relates: #46
2017-04-06 15:53:03 +02:00
958086da24
FEATURE: Add tests for MissingVendorForPluginsAndModulesSniff
...
* With custom vendor and default vendor.
Relates: #46
2017-04-06 15:48:37 +02:00
0703167315
FEATURE: Allow to overwrite cli arguments for test
...
* Enable overwriting using Arguments.php.
* Add multiple sub tests for AjaxRegistrationSniff.
Relates: #46
2017-04-06 15:37:55 +02:00
63d48e01fa
FEATURE: Add all remaining tests
...
Relates: #46
2017-04-06 14:23:32 +02:00
c8166df601
WIP|FEATURE: Allow scrutinizer to run tests
...
* Install standard to enable sniffs to run.
Relates: #46
2017-04-06 13:02:30 +02:00
f9ad7070a5
TASK: Add mapping for tests
...
Relates: #46
2017-04-06 12:48:43 +02:00
58bda24360
WIP|FEATURE: Integrate tests into scrutinizer
...
Relates: #46
2017-04-06 12:42:37 +02:00
bfda1cfec4
FEATURE: Add further test
...
Relates: #46
2017-04-06 12:42:17 +02:00
03f321c865
FEATURE: Add tests and fix issues
...
* Add test for IsACallSniff.
* Fix doublicate finds in IsACallSniff and
InstantiationWithObjectManagerSniff.
* Both didn't stop looking for class at end of expression.
Relates: #46
2017-04-06 12:35:44 +02:00
af74a5db21
FEATURE: Add further tests
...
Relates: #46
2017-04-06 12:11:31 +02:00
d7911cccee
BUGFIX: Keep line ending for inline comments
...
* As test showed, line ending was removed for inline comments "//".
* This line ending is now kept.
* Test does not fail anymore.
Relates: #46 , #3
2017-04-06 11:57:00 +02:00
a78d94ab13
WIP|FEATURE: Add further tests
...
* Add new tests and improve existing
Relates: #46
2017-04-06 11:44:15 +02:00
b23ee6ef8b
TASK: Improve tests
...
* Allow phpcbf / diff to be optional, as not all tests are fixable.
* Provide more information in case of error.
* Provide phpunit dist to run phpunit without anything special.
Relates: #46
2017-04-06 11:14:32 +02:00
7c35998c62
FEATURE: Also enable testing phpcbf
...
* Add diff to test actual fixes.
Relates: #46
2017-04-06 10:55:17 +02:00
1b309bd709
WIP|FEATURE: First working test
...
* Parses fixtures to auto run tests for sniffs.
* Compares actual result for fixture input against expected result from
fixture.
Relates: #46
2017-04-06 10:39:24 +02:00
20952b7710
TASK: Refactor options access
...
* No longer use trait but static methods due to lack of Dependency
Injection.
* Adjust all calls.
* Also don't use yield any longer but return array of file names.
Relates: #42
2017-04-06 09:12:43 +02:00
b99438fff9
TASK: Refactor remove duplicate logic
...
* Make option trait cleaner, remove duplicate logic and use methods for
same logic.
* Also fix issue in readme pointing to non existing config name.
Relates: #42
2017-04-06 08:26:13 +02:00
3ceffb1680
Merge pull request #53 from DanielSiepmann/feature/38-add-typoscript-tokenizer
...
Feature/38 add typoscript tokenizer
2017-04-06 08:17:10 +02:00
0e5d74b51d
Merge remote-tracking branch 'origin/develop' into feature/38-add-typoscript-tokenizer
2017-04-06 08:10:21 +02:00
Daniel Hürtgen
da0adb7d5e
Merge pull request #52 from DanielSiepmann/feature/49-deprecated-use-statements
...
FEATURE: Migrate legacy class names in use statements
2017-04-04 16:39:39 +02:00
Daniel Hürtgen
22c2f4cb1c
Merge pull request #51 from DanielSiepmann/hotfix/48-multiple-type-hints
...
BUGFIX: Allow multiple type hints in php docs
2017-04-04 16:36:47 +02:00
Daniel Hürtgen
b2960ac63b
Merge pull request #47 from DanielSiepmann/feature/33-deprecated-handling
...
Feature/33 deprecated handling
2017-04-04 16:19:56 +02:00
300e3511be
TASK: Remove example sniff
...
* As this is just an example and we want to have a clean state.
* Also cleanup imported interface which is not in use anymore.
2017-04-04 14:48:10 +02:00
2e115bb3f7
FEATURE: Migrate legacy class names in use statements
...
Resolves: #49
2017-04-04 14:39:31 +02:00
55bdb39fa5
WIP|FEATURE: Integrate TypoScript
...
* Provide tokens for TypoScript.
* Provide first basic example of a working sniff.
Relates: #38
2017-04-04 13:31:39 +02:00
4a7ffaa92d
TASK: Update documentation
...
* Add new feature to docs.
Resolves: #42
2017-04-04 10:59:46 +02:00
f3e708f5e0
BUGFIX: Allow multiple type hints in php docs
...
* Respect possible separation by "|" and handle each of them.
Resolves: #48
2017-04-04 10:57:42 +02:00
818f266b9e
TASK: Cleanup some comments
2017-04-04 10:27:04 +02:00
99840b080f
FEATURE: Finish refactoring
...
* Removed functions and constants are working now.
Relates: #42
2017-04-04 10:21:16 +02:00
1a081900b2
WIP|FEATURE: Add removed constants
...
* Add configuration.
* Refactor common base for functions and constants.
* Add constants handling.
Relates: #42
2017-04-04 09:59:28 +02:00
b5e7e15683
Merge branch 'feature/33-deprecated-handling' into feature/42-deprecated-constants
2017-04-04 08:41:02 +02:00