[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 99250a: Fix for if in twig is deprecated

William Desportes williamdes at wdes.fr
Wed Dec 18 22:40:13 CET 2019


Branch: refs/heads/QA_4_9
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 99250a88ba5aae65f0c35b5645d5ee918d4c6343
https://github.com/phpmyadmin/phpmyadmin/commit/99250a88ba5aae65f0c35b5645d5ee918d4c6343
Author: William Desportes <williamdes at wdes.fr>
Date: 2019-12-18 (Wed, 12 December 2019) +01:00

Changed paths: 
M templates/columns_definitions/column_attributes.twig
M templates/database/tracking/untracked_tables.twig
M templates/privileges/initials_row.twig
M templates/server/databases/databases_footer.twig
M templates/server/databases/table_header.twig
M templates/server/databases/table_row.twig

Log Message:
-----------
Fix for if in twig is deprecated

"Using an "if" condition on "for" tag in "columns_definitions/column_attributes.twig" at line 163 is deprecated since Twig 2.10.0, use a "filter" filter or an "if" condition inside the "for" body instead (if your condition depends on a variable updated inside the loop)."

Signed-off-by: William Desportes <williamdes at wdes.fr>

Commit: bd33d92f39e7b0ea91aa96a3766207d389483927
https://github.com/phpmyadmin/phpmyadmin/commit/bd33d92f39e7b0ea91aa96a3766207d389483927
Author: William Desportes <williamdes at wdes.fr>
Date: 2019-12-18 (Wed, 12 December 2019) +01:00

Changed paths: 
M templates/columns_definitions/column_virtuality.twig
M templates/columns_definitions/partitions.twig
M templates/database/designer/js_fields.twig
M templates/database/multi_table_query/form.twig
M templates/display/export/options_rows.twig
M templates/display/import/javascript.twig

Log Message:
-----------
Fix spaceless is deprecated

"Deprecation Notice in ./vendor/twig/twig/src/TokenParser/SpacelessTokenParser.php#36
 The spaceless tag in "columns_definitions/column_virtuality.twig" at line 18 is deprecated since Twig 2.7, use the spaceless filter instead."

Signed-off-by: William Desportes <williamdes at wdes.fr>



More information about the Git mailing list