Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added autoloader to reduce complexity; fix phpcs issues #828

Merged
merged 49 commits into from
Dec 11, 2017

Commits on Dec 8, 2017

  1. Added classmap autoloader, removed all require_once(), deprecated amp…

    …_load_classes() and amp_load_fasterimage_classes(), created /include/templates/ directory for template-related classes, and Options Manager out of the views subdirectory.
    mikeschinkel committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    8346524 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c1fa20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33c0ebf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08bac6b View commit details
    Browse the repository at this point in the history
  5. Removed 2nd parameter to remove_shortcode() because remove_shortcode(…

    …) does not accept a 2nd parameter.
    mikeschinkel committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    e5c1a8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8b267ef View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8b34e24 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2017

  1. Add dev-lib

    westonruter authored and mikeschinkel committed Dec 9, 2017
    Configuration menu
    Copy the full SHA
    b54243b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38cccab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f13c385 View commit details
    Browse the repository at this point in the history
  4. Document the sanitizers

    mikeschinkel committed Dec 9, 2017
    Configuration menu
    Copy the full SHA
    03c126b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fdd1c74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48c492e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a0b53c View commit details
    Browse the repository at this point in the history
  8. Renamed _build_placeholder() back to build_placeholder() since no whe…

    …re else is using the leading underscore convention for private methods.
    mikeschinkel committed Dec 9, 2017
    Configuration menu
    Copy the full SHA
    fb10624 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    19b6f04 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b1ee243 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    010dad4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8fad986 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2017

  1. Configuration menu
    Copy the full SHA
    241e866 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38992ed View commit details
    Browse the repository at this point in the history
  3. Fix phpcs

    westonruter committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    5fcbc2b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Configuration menu
    Copy the full SHA
    2105af0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f85c366 View commit details
    Browse the repository at this point in the history
  3. Ensure that no errant whitespace text nodes are added to output. This…

    … also required changing the output to match on two data elements in AMP_Iframe_Converter_Test->get_data()
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    564a9d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f90c16d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b62132a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5417aeb View commit details
    Browse the repository at this point in the history
  7. Merge branch 'develop' of github.com:newclarity/amp-wp into develop

    # Conflicts:
    #	autoloader.php
    
    Merged in changes made by @westonruter
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    19658c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a66c992 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    23bf64f View commit details
    Browse the repository at this point in the history
  10. PHP5.2: Remove '\' from on front of ReflectionClass() because PHP 5.2…

    … can't handle namespace syntax.
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    bfa54bc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    129bda7 View commit details
    Browse the repository at this point in the history
  12. Added logic in AMP_DOM_Utils::get_content_from_dom() to replace <br><…

    …/br> with <br/> and <hr></hr> with <hr/>.
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    b1feee0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    00bea9b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b74ee8f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6000b50 View commit details
    Browse the repository at this point in the history
  16. Added a composer.json.

    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    6e0c13b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    bd97046 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    215a27b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    85a46ba View commit details
    Browse the repository at this point in the history
  20. Remove "repositories" from composer.json because it is not merged in …

    …yet and thus is causing the build to fail.
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    de7f617 View commit details
    Browse the repository at this point in the history
  21. Had to remove require: php>=5.2 because it appears to be breaking the…

    … build. (Methinks we would need to update the composer.json file for each Travis build to support the proper version of PHP?)
    mikeschinkel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    5d1157f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    42c0600 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    47edc2f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3e15941 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f5b2d2f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8b416f9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    575ac66 View commit details
    Browse the repository at this point in the history