Pataar
336ae44ef2
Add Lumen 8 to integration test ( #1093 )
2020-11-17 10:45:20 +01:00
Pataar and Markus Podar
00ee13e0cf
Add integration test workflow ( #1050 )
...
* Add fresh run workflow
* Change name of step
* Update .github/workflows/run-fresh.yml
Co-authored-by: Markus Podar <[email protected] >
* Apply suggestions from code review
Co-authored-by: Markus Podar <[email protected] >
* Fix feedback
* Fix feedback, add file existence check
* Improve test
* Change way of checking files
* Fix tests
* Add log count check
* Add fi
Co-authored-by: Markus Podar <[email protected] >
2020-09-11 14:59:01 +02:00
Markus Podar
9baf93a502
Add github issue/PR templates ( #1041 )
2020-09-07 19:02:38 +02:00
Markus Podar and Barry vd. Heuvel
affa55122f
[TESTS] Running in CI should not create but rather fail on missing snapshots ( #1039 )
...
* tests: running in CI should not create but rather fail on missing snapshots
Otherwise they get created on the CI infrastructure but that's it, the
build won't fail although it was forgotten to add the snapshot.
* Bump minimum phpunit version which correctly accepts the `-d` parameter
The `prefer-lowest` version we get with L6 is 8.0.0 which throws this error:
```
PHP Fatal error: Uncaught TypeError: ini_set() expects parameter 2 to be string, bool given in /home/runner/work/laravel-ide-helper/laravel-ide-helper/vendor/phpunit/phpunit/src/TextUI/Command.php:379
```
* Update composer.json
Co-authored-by: Barry vd. Heuvel <[email protected] >
2020-09-07 09:36:37 +02:00
Barry vd. Heuvel and Markus Podar
b7d84785b1
GHA Composer v2 ( #968 )
...
* Update run-tests.yml
* Update run-tests.yml
* Update run-tests.yml
* Update run-tests.yml
* Update run-tests.yml
* Update run-tests.yml
* Update run-tests.yml
* gha: no need for self-update, setup-php `composer:v2` already gives the version we want
Co-authored-by: Markus Podar <[email protected] >
2020-09-07 09:26:20 +02:00
Markus Podar
d978986523
Remove GrumPHP ( #1036 )
...
* composer remove --dev phpro/grumphp
* Remove remains of grumphp
2020-09-04 19:05:00 +02: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
Barry vd. Heuvel
a12f902b33
Avoid duplicate tests ( #1021 )
2020-08-28 16:12:41 +02:00
Markus Podar
1ad23fd14c
gha: use separate workflow file only on push for fixing the code style ( #1013 )
2020-08-21 06:49:24 +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
Barry vd. Heuvel
4b459d3e82
Update stale.yml
2020-07-30 11:34:53 +02:00
Barry vd. Heuvel
9e5c7e0887
Create stale.yml
2020-07-28 21:34:40 +02:00
Markus Podar
6ec4f7baf9
gha: drop non-supported Laravel versions and simplify matrix ( #970 )
...
- also drop dedicated testbench version, composer can figure it out itself
https://laravel.com/docs/7.x/releases#support-policy
Only 5.5 receives security fixes until 2020-08-30,
everything else < 6 isn't supported anymore.
Therefore I dropped all versions not officially
supported.
I also find the change in the matrix more readable without having to
mentally parse a set of a lot "includes",
I think this clarifies the intent better.
This also results in more jobs are more (correctly allowed) variations are now covered.
2020-06-23 17:39:14 +02:00
Barry vd. Heuvel
7298d6e965
Update run-tests.yml
2020-06-23 09:27:46 +02:00
Barry vd. Heuvel
dbd98fdca3
Cache Composer
2020-06-23 09:20:24 +02:00
Markus Podar
3197aab841
gha: add timeouts ( #967 )
2020-06-23 08:25:12 +02:00
Markus Podar and Barry vd. Heuvel
ea17a4076b
Small improvements for github actions ( #961 )
...
* Remove travis leftovers
* gha: remove --no-interaction
* gha: use separate job for style check and use composer scripts
* gha: give workflow a nice name
* gha: remove packages we don't need, reduce workflow runtime
Co-authored-by: Barry vd. Heuvel <[email protected] >
2020-06-22 21:07:19 +02:00
Barry vd. Heuvel
5402b5ebfa
Update run-tests.yml
2020-06-22 20:58:32 +02:00
feek and mr-feek
545298c44d
[Chore] Introduce psalm ( #962 )
...
* chore: introduce psalm
* chore: remove dead code
* chore: run psalm workflow
* chore: run psalm in grumphp
* normalize composer.json
* chore: analyse --> analyze
* chore: just remove psalm when running tests instead of worrying about dependency mismatch hell
Co-authored-by: mr-feek <[email protected] >
2020-06-22 20:28:59 +02:00
Barry vd. Heuvel and Markus Podar
3381123e71
Use Github Actions ( #960 )
...
* Use Github Actions
* Fix PHP versions
* Update run-tests.yml
* Update run-tests.yml
* Delete .travis.yml
* Update run-tests.yml
* Update composer.json
* Update run-tests.yml
* Update .github/workflows/run-tests.yml
Co-authored-by: Markus Podar <[email protected] >
* Update .github/workflows/run-tests.yml
Co-authored-by: Markus Podar <[email protected] >
Co-authored-by: Markus Podar <[email protected] >
2020-06-22 17:46:01 +02:00
Tom Witkowski
94948e4f2c
composer normalize ( #959 )
...
* add gh action
* normalize composer.json
2020-06-22 17:32:22 +02:00
Barry vd. Heuvel
b91b959364
Create FUNDING.yml
2019-10-30 21:53:27 +01:00