* Implemented Monolog
* Doesn't need to look for BB_DEBUG. It won't be logged on prod anyway.
* Doesn't need to be an array
* -Box_LogStream
* Reverted squash
* Fixed a duplicate
* Type hinting
* This got lost in a merge commit
* Kind of distracted today. Good thing squash and merge exists.
* Cleaning
* Rebased composer.json & lockfile
* Enabled the check again
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
In recent versions of PHP, converting from a float to an int causes deprecation warnings. This PR cleans up a situation I came across where that was happing.
* Implement a custom autoloader
* Remove unreachable line
* Spelling
* I missed that
* Just use the latest version of PHPStan
* Also setup the autoloader in the installer
* Implemented classmap capabilities
* Remove debug line, add PHPDocs
* Typo 7 removing dead code
* Fix the installer after the most recent commit
* Remove outdated installation steps
And link to the website instead
* Excuse me. Formatting please?
* Introduce a cspell workflow
* Update cspell.yml
* Update cspell.yml
* Why is it seemingly ignoring the config?
* Waiit a min
* Fixed a bunch of spelling mistakes
* And set it back to incremental mode
* That is actually supposed to be spelled wrong..
Because BoxBilling :)
* Capitalization
* I swear I fixed this as well
* Update cspell.json
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* +Central Alerts System
* Added a link to the pull request
* Bugfix
* Refactored to use symfony/cache
* Reverted the database patch
* Update foss-update.php
* Reverted the table structure
* Restore src/install/sql/structure.sql
* Fixed the HTTP client
* Restore src/foss-update.php
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Update System update message to link to updater
Update the System module to provide a link to the updater in the update available message. Also update admin template to permit passing arbitrary HTML (such as links) in system messages.
* Improve system message handling with optional URL
Update System module message handling, and admin template, to better handle an optional URL for each message.
* Fix SQL error on cancelling invoice
Update Invoice service to check for empty string when setting `gateway_id` to fix SQL error.
* Update Invoice `gateway_id` check
Update Invoice `gateway_id` check to simplify by just checking for `empty()`.
* Caught a typo
* New ExtensionDirectory class
* Tests
* Tests and error handling
* Stuff
* Literally the same outcome anyway. Will write this in the future.
* Removed tests for a function that does nothing
* "stable" -> "release"
* Fix misnamed exception errors
* Update class name to ExtensionManager
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>