File tree Expand file tree Collapse file tree
src/AbraFlexi/ui/DataTables Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616use Ergebnis \PhpCsFixer \Config \Factory ;
1717use Ergebnis \PhpCsFixer \Config \Rules ;
18- use Ergebnis \PhpCsFixer \Config \RuleSet \Php74 ;
18+ use Ergebnis \PhpCsFixer \Config \RuleSet \Php81 ;
1919
2020$ header = <<<'HEADER'
2121This file is part of the AbraFlexiDataTables package
2828file that was distributed with this source code.
2929HEADER;
3030
31- $ ruleSet = Php74 ::create ()->withHeader ($ header )->withRules (Rules::fromArray ([
31+ $ ruleSet = Php81 ::create ()->withHeader ($ header )->withRules (Rules::fromArray ([
3232 'blank_line_before_statement ' => [
3333 'statements ' => [
3434 'break ' ,
Original file line number Diff line number Diff line change 1515 },
1616 "minimum-stability" : " dev" ,
1717 "require" : {
18- "vitexsoftware/abraflexi-bricks" : " dev-main " ,
19- "vitexsoftware/ease-bootstrap5-widgets-abraflexi" : " dev-main "
18+ "vitexsoftware/abraflexi-bricks" : " ^1.4 " ,
19+ "vitexsoftware/ease-bootstrap5-widgets-abraflexi" : " ^1.4 "
2020 },
2121 "require-dev" : {
2222 "datatables/datatables" : " ^1.10" ,
2323 "phpunit/phpunit" : " *" ,
2424 "phpstan/phpstan" : " *" ,
25- "friendsofphp/php-cs-fixer" : " ^3.61 " ,
26- "ergebnis/composer-normalize" : " ^2.43 " ,
27- "ergebnis/php-cs-fixer-config" : " ^6.34 " ,
25+ "friendsofphp/php-cs-fixer" : " ^3.84 " ,
26+ "ergebnis/composer-normalize" : " ^2.47 " ,
27+ "ergebnis/php-cs-fixer-config" : " ^6.50 " ,
2828 "phpstan/phpstan-phpunit" : " 2.0.x-dev"
2929 },
3030 "config" : {
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ public static function getUri()
239239 */
240240 public function dataSourceURI ($ engine )
241241 {
242- $ conds = ['class ' => \get_class ( $ engine) ];
242+ $ conds = ['class ' => $ engine::class ];
243243
244244 if (null !== $ engine ->filter ) {
245245 $ conds = array_merge ($ engine ->filter , $ conds );
@@ -260,7 +260,7 @@ public function addButton($function): void
260260
261261 public function addCustomButton (
262262 $ caption ,
263- $ callFunction = "alert( 'Button activated' ); "
263+ $ callFunction = "alert( 'Button activated' ); " ,
264264 ): void {
265265 $ this ->buttons [] = <<<'EOD'
266266{
You can’t perform that action at this time.
0 commit comments