Skip to content

Conversation

@VNDR-MUSIC
Copy link

Adds a new script, build_and_lint.sh, to automate the process of building, linting, and testing the PHP project.

This script provides a robust workflow that includes:

  • Programmatic installation of PHP and Composer if they are not found in the environment.
  • Automated dependency installation using Composer.
  • Linting with php-cs-fixer and auto-fixing of coding standard violations.
  • Running the PHPUnit test suite.
  • A retry mechanism to handle intermittent failures.
  • Project backups before each attempt.

The script is designed to be self-contained and handles its own dependencies, making it suitable for use in CI/CD environments or for local development.

Adds a new script, build_and_lint.sh, to automate the process of building, linting, and testing the PHP project.

This script provides a robust workflow that includes:
- Programmatic installation of PHP and Composer if they are not found in the environment.
- Automated dependency installation using Composer.
- Linting with php-cs-fixer and auto-fixing of coding standard violations.
- Running the PHPUnit test suite.
- A retry mechanism to handle intermittent failures.
- Project backups before each attempt.

The script is designed to be self-contained and handles its own dependencies, making it suitable for use in CI/CD environments or for local development.
@VNDR-MUSIC
Copy link
Author

Hopefully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant