Skip to content

Conversation

@danieldpl
Copy link

fix(compatibility): resolve deprecated PHP warnings

  • Replaced deprecated function calls and adjusted code for compatibility with PHP 8.x+.
  • Fixed warnings related to optional parameters and null types.
  • Refactored equipJobsToArray() method for clarity and compliance.
  • Removed unnecessary indentation and trailing whitespace.

docs(readme): updated README with installation guide and PHP requirements

  • Added a basic installation guide to README.md.
  • Updated minimum PHP version to 7.0 due to usage of the null coalescing operator (??).
  • Improved formatting and documentation consistency.

BREAKING CHANGE: Requires PHP >= 7.0.

Modified IP address columns in the following tables:

Changes: varchar(15) to varchar(100)

cp_emailchange
cp_ipbanlog
cp_loginlog
cp_pwchange
cp_resetpass

Purpose: to support IPv6 and extended IP formats.
fix(compatibility): resolve deprecated notices and warnings for PHP 8.x+

- Replaced deprecated function calls and adjusted code to comply with modern PHP standards.
- Addressed various warnings related to optional parameters and null type declarations.
- Refactored equipJobsToArray() for clarity and compatibility.
- Unnecessary indentation and trailing whitespace were removed across multiple files.

docs(readme): updated README with installation guide and PHP requirements

- Added a basic installation guide to README.md.
- Updated minimum PHP version to 7.0 due to usage of the null coalescing - operator (??).
- Improved formatting and documentation consistency.

BREAKING CHANGE: Requires PHP >= 7.0.
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