File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed
Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1818 uses : shivammathur/setup-php@v2
1919 with :
2020 php-version : ${{ matrix.php-versions }}
21- extensions : mbstring, intl # optional, setup extensions
22- ini-values : post_max_size=256M # optional, setup php.ini configuration
23- coverage : xdebug # optional, setup coverage driver
2421 tools : phpcbf, phpcs
2522 - name : Check PHP Version
2623 run : php -v
3229 run : composer validate
3330
3431 - name : Check cs
35- run : composer cs -- ./
32+ run : composer cs -- ./
33+
34+ - name : Check psalm
35+ run : composer psalm
Original file line number Diff line number Diff line change @@ -36,6 +36,18 @@ The autoload is based on psr-4 and handled by composer.
3636
3737## Changelog ##
3838
39+ ### 3.3.0
40+ * 15 March 2021
41+ * Fix all PSALM errors
42+ * Enhance the phpcs: ignore rules to be compatible with skeleton
43+ * Use shortarray syntax
44+ * Enforce return types
45+ * Use InvalidArgumentException when model wrongly instaciated
46+ * Remove thumbnail deletion on remove_post_thumnail
47+ * Rename get_ID to get_id
48+ * Add psalm
49+ * Remove ` _* ` methods from Models
50+
3951### 3.2.0
4052* 1 March 2021
4153* Introduce interfaces and abstract classes to register Gutenberg blocks
Original file line number Diff line number Diff line change 22/*
33Plugin Name: BEA Plugin Name
44Version: 1.0.0
5- Version Boilerplate: 3.2 .0
5+ Version Boilerplate: 3.3 .0
66Plugin URI: https://beapi.fr
77Description: Your plugin description
88Author: Be API Technical team
Original file line number Diff line number Diff line change @@ -21,5 +21,8 @@ grumphp:
2121 jsonlint :
2222 ignore_patterns : [ ]
2323 detect_key_conflicts : false
24+ psalm :
25+ config : psalm.xml
26+ triggered_by : ['php']
2427 testsuites : []
2528 extensions : []
You can’t perform that action at this time.
0 commit comments