Commit Graph

11 Commits

Author SHA1 Message Date
Jonas L d9fbb231b6
fix(legacy): remove composer superuser warning (#2515)
- Disable plugins or script when running composer
- Export COMPOSER_ALLOW_SUPERUSER=true to suppress the warning
- Simplify makefile to build legacy files
2023-04-19 16:15:15 +01:00
jo 3f2f2cb50b ci(legacy): catch syntax errors on older php versions 2022-08-24 12:18:40 +02:00
jo 25fbf5cf32 chore(legacy): commit tools composer.json
Allow to keep track of the tools version and not have unexpected version bumps.
2022-07-11 17:30:52 +02:00
Jonas L 5e8d8db6e9
Feature: Support php7.4 (#1354)
* Run CI tests against php 7.4

* Sort composer dependencies

* Remove unused Aws S3 php library

* Pin simplepie dependency to ^1.5

* Pin getid3 dependency to ^1.9

* Pin composer semver to ^3.2

* Pin php-amqplib to ^2.12

* Drop sentry logging support

* Update composer dependencies

* Move propel regenerate to Makefile

* Regenerate propel files with v1.7.0

* Pin propel orm to ^1.7

* Regenerate propel files with v1.7.2

* fix: generator_version in airtime-conf-production.php

* Replace propel/propel1 with jooola/propel1

* Regenerate propel files with v1.7.3-dev

* Fix php7.4 compatibility

Using php-cs-fixer:

    '@PhpCsFixer' => true,
    'concat_space' => ['spacing' => 'one'],
    'ordered_class_elements' => false,
    'yoda_style' => false,
    '@PHP74Migration' => true,
    'assign_null_coalescing_to_coalesce_equal' => false,
    'ternary_to_null_coalescing' => false,
    'heredoc_indentation' => false,
    '@PHP74Migration:risky' => true,
    'declare_strict_types' => false,
    'void_return' => false,
    'use_arrow_functions' => false,

* Fix pre-commit
2021-10-17 17:19:53 +02:00
Jonas L ada4c72e87
Remove unused include locale/Makefile (#1407)
* Remove unused include locale/Makefile

This was generating a mess/loop with the git clean command.

* Clean/rebuild generated locales on install
2021-10-17 15:21:17 +02:00
Jonas L 1efa0742c9
Clean and update locales (#1402)
* Remove untranslated languages

* Add country prefix to some locales

* Remove locale template file

* Prepare nl_NL and tr_TR locale for future use

* Sort locales list and put en_Us at the top

* Enhance locale Makefile

Add clean target for locales

Set locale all target to clean and build

Ensure we keep issue tracker on po updates

* Update locales headers

* Scan sources files and update locales
2021-10-17 00:20:03 +02:00
Jonas L 4335795c52
chore: Enhance release workflow (#1400)
* Rename package-release to release

* Move tarball creation in Makefile

* Enhance release workflow

* Add --ignore-platform-reqs to composer build
2021-10-15 14:59:59 +02:00
jo f7494cab7d Add locale Makefile and allow building mo files 2021-10-15 14:12:27 +02:00
jo 81b0f22277 Improve legacy Makefile 2021-10-15 01:49:56 +02:00
jo 45eda99ba3 Add php-cs-fixer setup
Exclude propel generated files from php-cs-fixer
2021-10-12 11:07:56 +02:00
jo 3e18d42c8b Rename airtime_mvc/ to legacy/ 2021-10-11 13:43:25 +02:00