Closed (fixed)
Project:
PDF Metadata
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Apr 2024 at 14:54 UTC
Updated:
3 May 2024 at 19:59 UTC
Jump to comment: Most recent
Updating the code base to meet the coding latest standards for phpcs / phpstan.
Running the basic Drupal / DrupalPractice / SlevomatCodingStandard sniffs:
./vendor/bin/phpcbf -d memory_limit=4G --standard=phpcs.xml docroot/modules/contrib/pdf_metadata
./vendor/bin/phpcs -d memory_limit=4G --standard=phpcs.xml docroot/modules/contrib/pdf_metadata
./vendor/bin/phpstan analyse --memory-limit=4G docroot/modules/contrib/pdf_metadata
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
j-barnes commentedComment #4
j-barnes commentedComment #5
j-barnes commentedComment #6
sunny-lee commentedLooks good, tested on several nodes and media entities. Pdf metadata when enabled on media and nodes are correctly adding the metadata to the pdfs following settings. Tried this on newly created ones as well as editing older ones and worked on several different nodes and media entities.
Comment #8
j-barnes commented@sunny-lee - thanks for testing this out!
Comment #9
j-barnes commentedComment #10
j-barnes commented