100 lines
No EOL
3.8 KiB
JSON
100 lines
No EOL
3.8 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "f4b83f92-eda0-4174-a9e1-45a94d97fb05"
|
|
}
|
|
],
|
|
"langcode": [
|
|
{
|
|
"value": "en"
|
|
}
|
|
],
|
|
"type": [
|
|
{
|
|
"target_id": "daily_email",
|
|
"target_type": "node_type",
|
|
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
|
}
|
|
],
|
|
"revision_timestamp": [
|
|
{
|
|
"value": "2025-05-11T09:00:01+00:00"
|
|
}
|
|
],
|
|
"revision_uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"revision_log": [],
|
|
"status": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"title": [
|
|
{
|
|
"value": "Keep your PHP code up to date using Rector"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2025-01-31T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-05-11T09:00:01+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2025\/01\/31\/rector",
|
|
"langcode": "en"
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>Do you want to make it easier to keep your PHP code up to date with the latest standards and using the latest features?<\/p>\n\n<p>Rector is a tool for refactoring PHP code and it has presets for different versions of PHP.<\/p>\n\n<p>It can refactor your code to follow best practices such as using early returns, having private methods by default and enabling strict typing - making code cleaner whilst using the latest PHP features.<\/p>\n\n<p>Once installed, it can be executed and will make changes to your files, but what about keeping it up to date going forward?<\/p>\n\n<p>Why not add <code>rector --dry-run<\/code> to your CI pipeline and have it checked automatically?<\/p>\n\n<p>Then, if code is committed that doesn't match the latest standards, the pipeline will fail and the code can be updated.<\/p>\n\n<p>This will ensure the code is always up to date and you won't be stuck on old or unsupported PHP versions.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>Do you want to make it easier to keep your PHP code up to date with the latest standards and using the latest features?<\/p>\n\n<p>Rector is a tool for refactoring PHP code and it has presets for different versions of PHP.<\/p>\n\n<p>It can refactor your code to follow best practices such as using early returns, having private methods by default and enabling strict typing - making code cleaner whilst using the latest PHP features.<\/p>\n\n<p>Once installed, it can be executed and will make changes to your files, but what about keeping it up to date going forward?<\/p>\n\n<p>Why not add <code>rector --dry-run<\/code> to your CI pipeline and have it checked automatically?<\/p>\n\n<p>Then, if code is committed that doesn't match the latest standards, the pipeline will fail and the code can be updated.<\/p>\n\n<p>This will ensure the code is always up to date and you won't be stuck on old or unsupported PHP versions.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "1970-01-01T00:33:45+00:00",
|
|
"guid": null,
|
|
"hash": "b8c389b3b092927696ab5949cecfe240",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |