Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About block34

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. + tree src src └── classes.php + cat src/classes.php <?php class Class1 { /** * @uses Class2::method2() */ function method1(){} } class Class2 { function method2(){} } + phpdoc -d src -t /tmp/docs + grep method1 /tmp/docs/classes/Class2.html || echo 'REFERENCE NOT FOUND' REFERENCE NOT FOUND On the page /tmp/docs/classes/Class2.html, there should be no reference (@usesby) to Class1::method1()? So the document https://cutt.ly/jvDMGhh is not telling the truth? Also, this is what the page /tmp/docs/classes/Class2.html looks like if it is opened in a browser
  2. The following links propose two different versions https://docs.phpdoc.org/3.0/guide/references/phpdoc/tags/internal.html https://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.inlineinternal.pkg.html Respectively {@internal} {@internal}} The second link, in particular, mentions Which is the correct one?
  3. /etc? However can you tell me exactly the commands to get the information you ask for?
  4. $ docker inspect wordpress [ { "Id": "sha256:ee2256095234b2ecd8ccdd6cb0a90e401461020ffa707323ae08a78a03a44ba7", "RepoTags": [ "wordpress:latest" ], "RepoDigests": [ "wordpress@sha256:6f609ebf8518069516df36f0ab504735f8e563c1e303c37eba4902e732fcc6c6" ], "Parent": "", "Comment": "", "Created": "2020-07-10T06:33:41.143418206Z", "Container": "a283dc2b546a4a43d0c243023641e5142976b5557a8760174f5c667549dd2966", "ContainerConfig": { "Hostname": "a283dc2b546a", "Domainname"
  5. I wrote on this forum just because I have this difficulty. What else are the forums for?
  6. $ curl http://localhost:8000 The web page shows this thing: Fatal error: Uncaught Error: Call to undefined function yaml_parse_file() in /var/www/html/wp-content/plugins/mytest/main.php Maybe I have to install the php-yaml extension (or something similar). How you do it? Here is my docker-compose.yml file: version: '3.3' services: db: image: mysql:5.7 volumes: - dbdata:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: somewordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASS
  7. $ docker run \ --rm \ -v $(pwd):/data \ phpdockerio/php72-fpm \ --directory src \ --target docs docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"--directory\": executable file not found in $PATH": unknown. ERRO[0000] error waiting for container: context canceled But does it work for you? Can't you do some tests?
  8. I really think so. It will mean that I will await any future developments. Thanks anyway.
  9. The problem is that I don't speak English very well (I apologize). Could you explain yourself a little better? Besides the phpdoc / phpdoc container should I use a container with PHP 7.2? Could you give a practical example?
  10. $ docker run \ --rm \ -v $(pwd):/:/data phpdoc/phpdoc:7.2 \ --directory src \ --target docs Unable to find image 'phpdoc/phpdoc:7.2' locally docker: Error response from daemon: manifest for phpdoc/phpdoc:7.2 not found. See 'docker run --help'.
  11. $ docker run --rm -v $(pwd):/data phpdoc/phpdoc -d src -t docs # show the output web page (see attachment) $ firefox docs/classes/Examples.Example.html Because into the output web page, it appears Warning: count(): Parameter must be an array or an object that implements Countable......
  12. Look at these examples. Docblock only for the class: /** * Tool to format a text. */ class Formatter { function format() {} } Docblock only for the method: class Formatter { /** * Format a text. */ function format() {} } Docblocks for both (slightly diversified): /** * Tool to format a text. */ class Formatter { /** * Format a text. */ function format() {} } Identical docblocks for both (although they create a little redundancy for my taste): /** * Format a text. */ class Formatter { /** * Format a text.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.