Alain Schlesser
Alain Schlesser
The AMP Toolbox should include a sanitizer that is a pure PHP variant of the collection of sanitizers currently found in the AMP for WordPress plugin. The general idea is...
## Feature description The Common package (`ampproject/common`) is currently sitting at and enforcing level 4 of PHPStan static analysis. There are 2 errors that need to be fixed so that...
The AMP project has deprecated the concept of `latestVersion` and `-latest` binaries: https://github.com/ampproject/amphtml/issues/36749 Right now, we use that data for the `AutoExtensions` transformer to figure out which version of a...
The parsing of the CLI options is dependent on an arbitrary ordering where associative arguments (flags like `--json`) need to come first before positional arguments. If these associative arguments are...
Multiple TODOs are still open in the `ExtensionSpec` template. These need to be resolved be generally improving the handling of latest versions of extensions. - [ ] The spec will...
Profiling the current test suite showed that the use of `mb_detect_encoding()` made up more than 40% of the execution time of the entire test suite. We should: - [ ]...
The following is a list of tasks/issues we need to complete for a feature-complete v1.0.0 release of the optimizer. - [x] New Transformer: BrowserHints [[#31](https://github.com/ampproject/amp-toolbox-php/issues/31)] - [x] New Transformer: AutoExtensions...
As an alternative to https://github.com/ampproject/amp-wp/issues/2382 , we should generate an `AmpCache` class from the https://cdn.ampproject.org/caches.json that turn the JSON file into readily usable class constants in PHP code. This can...
Some extension scripts are only needed to power the interactivity for the user and are not necessary during the initial rendering process. Moving these scripts to the end of the...
The AMP Toolbox should have a full PHP implementation of the AMP validator - [ ] Generate PHP representation of validator spec => #100 - [ ] Implement validators that...