SlideShare a Scribd company logo
1
PHP compatibility testing with
PHPCompatibilityWP
Jonathan Bossenger
Learn.WordPress.org
2
👋🏽 Welcome!
As you join, let everyone know in the chat where you’re
joining us from, and feel free to share a little about what
you do with WordPress.
Hello!
○ My name is Jonathan Bossenger
○ From Cape Town, South Africa
○ Developer educator at Automattic
○ Sponsored to work with the Training Team
○ jonathanbossenger.com
Learn.WordPress.org
PHP compatibility testing
with PHPCompatibilityWP
Jonathan Bossenger
Announcements
○ Welcome.
○ Please let me know if you can’t see this slide!
○ We are presenting in focus mode, but please feel free to enable your video.
○ You are welcome to ask questions.
○ You are welcome to post questions in the chat, or unmute to ask questions.
Announcements
○ This is an update to a previous workshop
○ If I am going too fast, please let me know!
○ We are recording this session and will be posting it to https://wordpress.tv/ afterwards.
○ https://learn.wordpress.org/ - WordPress learning resources
○ https://developer.wordpress.org/news/ - WordPress developer news
○ 2023 Annual WordPress Survey - https://wordpress.org/news/2023/09/help-influence-
the-future-of-wordpress-by-taking-the-2023-annual-survey-today/
Learning outcomes
○ PHPCompatibilityWP
• Why test for PHP version compatibility?
• Where to find information on PHP version changes?
• Manual compatibility testing.
• Scanning your code using PHPCompatibilityWP.
• A note on PHPCompatibility versions.
• Considerations.
Question time
○ On a scale of 1 to 5, how well do you know this topic?
Requirements
○ A Terminal
○ Composer
○ A local WordPress installation
○ A text editor
Let’s go!
Resources
○ https://github.com/WordPress/Learn/issues/1893
○ https://www.php.net/supported-versions.php
○ https://www.php.net/manual/en/migration80.php
○ https://github.com/PHPCompatibility/PHPCompatibility
○ https://github.com/squizlabs/PHP_CodeSniffer
○ https://github.com/PHPCompatibility/PHPCompatibilityWP
○ https://docs.wpvip.com/technical-references/php/version-updates/phpcs-scans/#Upcoming-
releases-of-PHPCompatibility

More Related Content

PPTX
Common WordPress APIs_ Global Variables
PPTX
New WordPress Developer APIs The Interactivity API
PPTX
Common WordPress APIs - Options API
PPTX
Common WordPress APIs_ Settings API
PPTX
The WordPress Create Block tool
PPTX
Common WordPress APIs: Responsive Images
PPTX
The WordPress HTML API
PPTX
Common WordPress APIs_ Internationalization
Common WordPress APIs_ Global Variables
New WordPress Developer APIs The Interactivity API
Common WordPress APIs - Options API
Common WordPress APIs_ Settings API
The WordPress Create Block tool
Common WordPress APIs: Responsive Images
The WordPress HTML API
Common WordPress APIs_ Internationalization

Similar to PHP compatibility testing with PHPCompatibilityWP (20)

PPTX
Testing WordPress 6.3 - Developer edition
PPTX
Common WordPress APIs: Metadata
PPTX
Custom Tables in WordPress
PPTX
Common WordPress APIs - Dashboard Widgets
PPTX
Testing plugins for PHP 8
PPTX
What’s new for developers_ (August 2023).pptx
PPTX
The WordPress Database
PPTX
Help test WordPress - developer edition
PPTX
Debugging in WordPress
PPTX
Let's code: WordPress multisite experiments
PPTX
Let's code! What Happens When You Make Theme Changes
PPTX
Let's code: custom content & custom capabilities
PPTX
Let's code: developing WordPress User Roles and Capabilities
PPTX
Developing for multisite
PPTX
Using Block Patterns in your Block Theme.pptx
PPTX
Preventing Common Security Vulnerabilities
PPTX
Let's code! Converting a Shortcode into a Block
PPTX
Let's code: extending the WP REST API - modifying responses
PPTX
Preventing CSRF Security Vulnerabilities.pptx
PPTX
WordPress Plugin Security
Testing WordPress 6.3 - Developer edition
Common WordPress APIs: Metadata
Custom Tables in WordPress
Common WordPress APIs - Dashboard Widgets
Testing plugins for PHP 8
What’s new for developers_ (August 2023).pptx
The WordPress Database
Help test WordPress - developer edition
Debugging in WordPress
Let's code: WordPress multisite experiments
Let's code! What Happens When You Make Theme Changes
Let's code: custom content & custom capabilities
Let's code: developing WordPress User Roles and Capabilities
Developing for multisite
Using Block Patterns in your Block Theme.pptx
Preventing Common Security Vulnerabilities
Let's code! Converting a Shortcode into a Block
Let's code: extending the WP REST API - modifying responses
Preventing CSRF Security Vulnerabilities.pptx
WordPress Plugin Security
Ad

More from Jonathan Bossenger (11)

PPTX
Common WordPress APIs_ HTTP API.pptx
PPTX
Testing your plugins for PHP version compatibility
PPTX
WordPress Coding Standards
PPTX
Managing a WordPress Multisite Network
PPTX
Introduction to WordPress Multisite Networks
PPTX
Custom Post Types and Capabilities.pptx
PPTX
Developing WordPress User Roles and Capabilities
PPTX
Creating a WordPress multisite network
PPTX
Extending WordPress: common security vulnerabilities
PPTX
WP REST API - custom routes and endpoints
PPTX
WP REST API - modifying responses
Common WordPress APIs_ HTTP API.pptx
Testing your plugins for PHP version compatibility
WordPress Coding Standards
Managing a WordPress Multisite Network
Introduction to WordPress Multisite Networks
Custom Post Types and Capabilities.pptx
Developing WordPress User Roles and Capabilities
Creating a WordPress multisite network
Extending WordPress: common security vulnerabilities
WP REST API - custom routes and endpoints
WP REST API - modifying responses
Ad

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
A Presentation on Artificial Intelligence
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
MYSQL Presentation for SQL database connectivity
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
MIND Revenue Release Quarter 2 2025 Press Release
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
sap open course for s4hana steps from ECC to s4
Building Integrated photovoltaic BIPV_UPV.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
A comparative analysis of optical character recognition models for extracting...
A Presentation on Artificial Intelligence
20250228 LYD VKU AI Blended-Learning.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

PHP compatibility testing with PHPCompatibilityWP

  • 1. 1 PHP compatibility testing with PHPCompatibilityWP Jonathan Bossenger Learn.WordPress.org
  • 2. 2 👋🏽 Welcome! As you join, let everyone know in the chat where you’re joining us from, and feel free to share a little about what you do with WordPress. Hello! ○ My name is Jonathan Bossenger ○ From Cape Town, South Africa ○ Developer educator at Automattic ○ Sponsored to work with the Training Team ○ jonathanbossenger.com
  • 3. Learn.WordPress.org PHP compatibility testing with PHPCompatibilityWP Jonathan Bossenger
  • 4. Announcements ○ Welcome. ○ Please let me know if you can’t see this slide! ○ We are presenting in focus mode, but please feel free to enable your video. ○ You are welcome to ask questions. ○ You are welcome to post questions in the chat, or unmute to ask questions.
  • 5. Announcements ○ This is an update to a previous workshop ○ If I am going too fast, please let me know! ○ We are recording this session and will be posting it to https://wordpress.tv/ afterwards. ○ https://learn.wordpress.org/ - WordPress learning resources ○ https://developer.wordpress.org/news/ - WordPress developer news ○ 2023 Annual WordPress Survey - https://wordpress.org/news/2023/09/help-influence- the-future-of-wordpress-by-taking-the-2023-annual-survey-today/
  • 6. Learning outcomes ○ PHPCompatibilityWP • Why test for PHP version compatibility? • Where to find information on PHP version changes? • Manual compatibility testing. • Scanning your code using PHPCompatibilityWP. • A note on PHPCompatibility versions. • Considerations.
  • 7. Question time ○ On a scale of 1 to 5, how well do you know this topic?
  • 8. Requirements ○ A Terminal ○ Composer ○ A local WordPress installation ○ A text editor
  • 10. Resources ○ https://github.com/WordPress/Learn/issues/1893 ○ https://www.php.net/supported-versions.php ○ https://www.php.net/manual/en/migration80.php ○ https://github.com/PHPCompatibility/PHPCompatibility ○ https://github.com/squizlabs/PHP_CodeSniffer ○ https://github.com/PHPCompatibility/PHPCompatibilityWP ○ https://docs.wpvip.com/technical-references/php/version-updates/phpcs-scans/#Upcoming- releases-of-PHPCompatibility