Commit Graph

490 Commits

Author SHA1 Message Date
feek
39e4241061
Update helpers.stubphp
fixes #240
2022-11-01 15:57:40 -04:00
Fiachra Mcdermott
e56a90f322 Merge branch '1.x' 2022-06-21 14:50:45 -04:00
feek
823119c293
Merge pull request #230 from psalm/config-helper
feature: add basic stub for config helper
2022-06-21 14:48:30 -04:00
Fiachra Mcdermott
e11ce9f299 feature: add basic stub for config helper 2022-06-21 14:33:55 -04:00
feek
c82b7c7cdb
Merge pull request #228 from Legion112/patch-1
Catch even Throwable when trying to create class
2022-06-09 11:41:17 -04:00
Max Ageev
c35a229860
Remove use 2022-06-09 17:22:58 +03:00
Max Ageev
e60d2b7752
Catch even Throwable when trying to create class
If class require connection to database for creation for example getting state from there and saving to property.
This break psalm anaylis currently. 
This case happen when CI environment does not have connection to database.
2022-06-09 17:21:57 +03:00
feek
7524304c07
Merge pull request #213 from Nielsvanpach/laravel-9
Add support for Laravel 9
2022-05-02 13:39:46 -04:00
feek
72380c2365
chore: document branch versions 2022-05-02 13:39:15 -04:00
Fiachra McDermott
f193724ae4 chore: remove branch alias 2022-05-02 13:32:28 -04:00
Niels Vanpachtenbeke
76a53f5908
Merge pull request #4 from mzur/laravel-9-patch-2
Fix accidental script declaration in composer.json
2022-04-28 00:05:24 +02:00
Martin Zurowietz
6c3c9b5a3e Fix accidental script declaration in composer.json 2022-04-27 21:06:33 +02:00
Niels Vanpachtenbeke
07f342de44
Merge pull request #3 from mzur/laravel-9-patch-1
Fix failing tests for firstOrCreate, firstOrNew and PHP 8.1
2022-04-27 08:32:35 +02:00
Martin Zurowietz
5fba3364d8 Add require-dev for ramsey/collection version supporting PHP 8.1 2022-04-26 15:09:31 +02:00
Martin Zurowietz
de5f93682a Add require-dev for symfony/http-foundation version supporting PHP 8.1 2022-04-26 14:48:36 +02:00
Martin Zurowietz
906d80fa68 Add require-dev for phpoption/phpoption version supporting PHP 8.1 2022-04-26 14:26:19 +02:00
Martin Zurowietz
fad8f22771 Fix failing tests for Eloquent relation types in Laravel 9 2022-04-26 14:08:33 +02:00
Martin Zurowietz
48d1c56b46 Fix failing tests for firstOrCreate and firstOrNew in Laravel 9 2022-04-26 13:39:37 +02:00
Niels Vanpachtenbeke
e50f7f0574
Merge pull request #2 from tm1000/laravel-9-test-fixes
Laravel 9 Test fixes
2022-04-07 22:56:42 +02:00
Andrew Nagy
48b4fd799c fix version string 2022-04-07 20:17:41 +00:00
Andrew Nagy
1c9e1931a7 bump up illuminate for 8.1 2022-04-07 20:16:48 +00:00
Andrew Nagy
813874b655 Merge branch 'master' into laravel-9-test-fixes 2022-04-07 20:01:01 +00:00
Andrew Nagy
a0d98b6729 fix failing tests 2022-04-07 19:58:59 +00:00
Niels Vanpachtenbeke
0dc88d301f
Merge pull request #1 from tm1000/laravel-9-codeception-fixes
Fixes codeception to actually work
2022-04-07 21:51:07 +02:00
Andrew Nagy
3ddc65b2ae fixes codeception to actually work 2022-04-07 19:08:23 +00:00
feek
f7d22b2273
Merge pull request #226 from ronb-lendesk/support-newer-ide-helper
Add support for later versions of IDE helper
2022-03-21 15:49:13 -04:00
Ron Bellido
17c59ef028 Add Example model to laravel baseline 2022-03-21 11:00:41 -07:00
Ron Bellido
f1d1fb1a9f phpcs fixes 2022-03-21 10:43:53 -07:00
Niels Vanpachtenbeke
ce996c6dd6
Merge branch 'master' into laravel-9 2022-03-21 09:06:21 +01:00
Niels Vanpachtenbeke
11cb4dad25 add remaining dev packages for codeception 2022-03-20 23:13:49 +01:00
Niels Vanpachtenbeke
df524d651e add missing dev package for codeception 2022-03-20 23:10:08 +01:00
Niels Vanpachtenbeke
9d685ce3ec use dev version of codeception 2022-03-20 23:04:38 +01:00
Niels Vanpachtenbeke
3f0479a931 fix psalm issues 2022-03-20 23:02:31 +01:00
Niels Vanpachtenbeke
0892cd08ea remove dev dependency 2022-03-20 22:52:33 +01:00
Ron Bellido
4b2fb46a4d Fix whitespace 2022-03-16 09:39:21 -07:00
Ron Bellido
377a4bd112 Suppress psalm messages 2022-03-16 09:26:19 -07:00
Ron Bellido
a0ee837fc7 Remove unused references 2022-03-15 16:59:29 -07:00
Ron Bellido
4a18811c4c Change @return on docblock 2022-03-15 16:26:41 -07:00
Ron Bellido
b9ce78e020 Return callable 2022-03-15 16:20:14 -07:00
Ron Bellido
f2566b9b51 Fix duplicate declarations of config 2022-03-15 16:08:18 -07:00
Ron Bellido
0591299185 Merge branch 'master' into support-newer-ide-helper 2022-03-15 14:01:53 -07:00
feek
902d217a1e
Merge pull request #224 from ekvedaras/master
Add support for anonymous migrations
2022-03-04 12:28:25 -05:00
Ernestas Kvedaras
3d9c5a7443 Add support for anonymous migrations 2022-03-01 16:30:41 +01:00
feek
b156f55956
Merge pull request #223 from mzur/patch-2
Fix lint action
2022-02-22 17:17:01 -05:00
feek
f07dce6af1
Merge pull request #221 from mzur/patch-1
Fix Psalm v4.21 compatibility
2022-02-22 17:16:18 -05:00
Martin Zurowietz
96aeecd091 Attempt to fix lint action 2022-02-21 10:50:22 +01:00
Martin Zurowietz
48c1425c86 Configure Psalm to ignore MissingFile in ApplicationProvider
The error was intriduced by Psalm 4.21 as it now resolves __DIR__.
It's recommended [1] to ignore the error if it happens despite an
existence check for the file.

[1] https://github.com/vimeo/psalm/issues/3886#issuecomment-663585426
2022-02-21 10:39:47 +01:00
Martin Zurowietz
f6193ad5cb Replace deprecated totallyTyped attribute
totallyTyped was deprecated in Psalm v4.21.0 [1].

totallyTyped="true" is equivalent to errorLevel="1" and
totallyTyped="false" is equivalent to errorLevel="2" plus
reportMixedIssues="false" [2].

[1] https://github.com/vimeo/psalm/releases/tag/4.21.0
[2] https://psalm.dev/docs/running_psalm/configuration/#totallytyped
2022-02-21 10:15:13 +01:00
feek
7123b7821c
Merge pull request #220 from Nielsvanpach/cleanup
Add .gitattributes & .editorconfig
2022-02-17 12:08:54 -05:00
feek
7c700c16b6
Merge pull request #219 from Nielsvanpach/update-baseline
update baseline files in tests
2022-02-17 12:06:30 -05:00