Add PSR HTTP Message Interfaces and Dependencies

- Implemented StreamInterface, UploadedFileInterface, and UriInterface as per PSR standards.
- Added getallheaders function to retrieve HTTP headers in a compatible manner.
- Included LICENSE files for ralouphie/getallheaders and symfony/deprecation-contracts.
- Introduced function for triggering deprecation notices in Symfony.
This commit is contained in:
2025-12-28 12:44:00 +01:00
parent cf600ae727
commit cd264483f8
410 changed files with 60841 additions and 16 deletions

View File

@@ -0,0 +1,82 @@
.cpt-review-notice{
position: relative;
margin: 10px 20px 10px 0 !important;
padding: 5px;
display: flex;
align-items: center;
border-radius: 5px;
max-width: 790px;
padding-left: 11px;
padding-bottom: 11px;
}
.cpt-review-notice .cpt-review-notice-icon{
max-width: 80px;
height: auto;
margin-right: 10px;
}
.cpt-review-notice div p{
margin: 0;
margin-bottom: .5rem;
}
.cpt-review-notice .atfpp-review-notice-dismiss {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
gap: 10px;
}
body.rtl .cpt-review-notice .cpt-not-interested {
right: auto;
left: 5px;
}
.cpt-review-notice :where(.cpt-not-interested, .cpt-already-reviewed)::before {
color: #cc0000;
content: "\f153";
font: normal 16px/20px dashicons;
display: inline-block;
vertical-align: middle;
margin-right: 4px;
height: 22px;
}
.cpt-dashboard {
padding: 20px;
}
.cpt-dashboard .cpt-dashboard-tabs {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
gap: 2px;
border-bottom: 1px solid #ccc;
}
.cpt-dashboard .cpt-dashboard-tabs .cpt-dashboard-tab {
padding: 10px 20px;
cursor: pointer;
background: #f5f5f5;
border: 1px solid #ccc;
border-bottom: none;
border-radius: 4px 4px 0 0;
}
.cpt-dashboard .cpt-dashboard-tabs .cpt-dashboard-tab:hover {
background: #fff;
}
.cpt-dashboard .cpt-dashboard-tabs .cpt-dashboard-tab.cpt-active {
background: #fff;
border-bottom: 1px solid #fff;
}
.cpt-dashboard .cpt-dashboard-table {
display: none;
}
.cpt-dashboard .cpt-dashboard-table.cpt-active {
display: table;
}