Chun-Sheng, Li and laravel-ide-helper
317889805b
Test enhancement ( #1100 )
...
* Improve PHPUnit assertions
* composer fix-style
Co-authored-by: laravel-ide-helper <[email protected] >
2020-11-30 15:33:15 +01:00
Markus Podar and Barry vd. Heuvel
764bc02b84
[CODESTYLE] Replace phpcs with php-cs-fixer ( #1030 )
...
* composer require --dev friendsofphp/php-cs-fixer:^2
* php-cs-fixer: ignore cache and custom local config file
* php-cs-fixer: initial config
* php-cs-fixer: replace commands in composer
* php-cs-fixer: add PSR12 "as good as it currently gets"
* php-cs-fixer: apply PSR12 to codebase
* tests: add workaround to keep unused imports for snapshot testing
* php-cs-fixer: apply no_unused_imports
* php-cs-fixer: apply array_syntax short
* php-cs-fixer: apply single_quote
* php-cs-fixer: switch ordered_imports sort_algorithm to alpha
Let's be opinionated here for consistency
* php-cs-fixer: split between non-tests and tests and share config
* php-cs-fixer: apply declare_strict_types for tests
* php-cs-fixer: apply fully_qualified_strict_types
* php-cs-fixer: apply space_after_semicolon
* php-cs-fixer: apply trailing_comma_in_multiline_array
* php-cs-fixer: apply trim_array_spaces
* php-cs-fixer: apply unary_operator_spaces
* php-cs-fixer: apply whitespace_after_comma_in_array
* php-cs-fixer: apply native_function_invocation
* php-cs-fixer: apply concat_space
* grumphp: reflect we're using phpcsfixer now
* composer remove --dev squizlabs/php_codesniffer
* gha: simplify fix-style approach
Not really necessary to remove packages and then manually prevent
unrelated commits creeping in
Co-authored-by: Barry vd. Heuvel <[email protected] >
2020-09-01 11:32:31 +02:00
Barry vd. Heuvel and barryvdh
a49cb46fdf
Bump Laravel versions ( #1022 )
...
* Bump Laravel versions
* Test Laravel 8
* Update composer.json
* Update composer.json
* normalize composer.json
* Tweak MethodTest for Laravel 8
Co-authored-by: barryvdh <[email protected] >
2020-08-28 22:26:05 +02:00
Markus Podar
ba95d18ef5
[PHPCS] Extend to check/fix all source code and turn GHA into auto-commit fixer ( #1003 )
...
* phpcs: enable also for config, resources and tests
* composer fix-style
* vendor/bin/phpunit -d --update-snapshots
* gha: instead of checking the style, fix and auto-commit it 💪
2020-08-10 10:22:48 +02:00
Daniel Mason
378adeb1f5
Add static return type to builder methods ( #924 )
...
* Add static return type to builder methods
* formatting
* add eloquent builder test
* change to use assertSame
2020-04-22 21:18:54 +02:00
Florian Reuschel and Markus Podar
3cc7d7ccf6
Improve test method doc block
...
Co-Authored-By: Markus Podar <[email protected] >
2020-03-31 21:19:33 +02:00
Loilo
da59650fb2
Add test for method default values with special chars
2020-03-26 09:37:33 +01:00
Markus Podar
fb0c576806
[PROPOSAL] Add more tests to the library ( #865 )
...
* phpunit: use dedicate `Tests` namespace for tests
* tests: replace phpunit with orchestra/testbench
* phpunit: ignore result cache file
* phpunit: adapt test for newer version
* tests: add base testcase class with a helper to run/assert commands
* tests: add test for ide-helper:eloquent
* travis: add global default variables
* travis: disable xdebug, speeds up running tests
* travis: convert php versions to build matrix for environment vars
* travis: only run phpcs/phpunit when the env vars signal it
However phpcs only runs with one test combination from the matrix,
not necessary to execute it every time.
2020-01-01 22:51:21 +01:00
Yuta Nagamiya
e7734d3c20
Add splat operator (...) support ( #860 )
...
* Add splat operator (...) support
* Add test
2019-12-25 12:17:50 +01:00
Barry vd. Heuvel
2d82419167
Test method output
2016-06-08 22:06:05 +02:00
Barry vd. Heuvel
bae462604e
Add test config, CS rules and fix CS
2016-06-08 21:36:25 +02:00