|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2019-11-28 16:36 UTC] admin at fossies dot org
 Description: ------------ The FOSS server fossies.org offers a new feature "Source code misspelling reports": https://fossies.org/features.html#codespell Although such reports are normally generated only on request as Fossies admin I have just forced an analysis for the new PHP release 7.4.0: https://fossies.org/linux/www/php/codespell.html That version-independent URL should redirect always to the last report (if available), so currently to https://fossies.org/linux/www/php-7.4.0.tar.xz/codespell.html Although already some obviously wrong matches (false positives) are prefiltered (ignored) please inform me if you find more of them so that I can force a new improved check. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
I agree that fixing code mistakes is more important than fixing spelling mistakes. The word `Produkt` is now ignored. The word `alloced` was already marked by Fossies as "Sloppy short computer slang" but is now also generally ignored. The word `dereferencable` seems to be a real misspelling but is now marked as "Common misspelling in programmer jargon". Problematic for me as PHP-layman is the decision which directories are to be ignored. After your remark I tried firstly to ignore the "ext"-subdirectory completely assuming the name means "external" but looking deeper in the according files I found mostly a PHP copyright. So it means probably rather "extension" and I searched til depth 2 for subdirectories without a PHP copyright ending with date/lib fileinfo/libmagic intl/collator intl/common intl/converter intl/dateformat intl/formatter intl/grapheme intl/locale intl/msgformat intl/normalizer intl/resourcebundle intl/spoofchecker intl/transliterator intl/uchar pcre/pcre2lib Since your mentioned bundled libraries seems included in the above list that directories are now also ignored (excluded). Here the spelling error results with the old and the new codespell configuration: spelling error false positives PHP occurrences types occurrences types 7.4.1 1473 308 1873 104 ("old" config) 1385 271 1771 97 ("new" config) f8f48ce.191129 1247 313 1914 107 ("old" config) 1157 276 1812 101 ("new" config) dabc28d.191221 520 296 1914 107 ("old" config) 432 259 1812 101 ("new" config) Here for completeness the current Fossies codespell report URLs: https://fossies.org/linux/www/php/codespell.html (https://fossies.org/linux/www/php-7.4.1.tar.xz/codespell.html) https://fossies.org/linux/test/php-src-master.tar.gz/codespell.html (https://fossies.org/linux/test/php-src-master-dabc28d.191221.tar.gz/codespell.html) (https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell_fps.html)Great, looks much better. Here the current spelling error results spelling error false positives PHP occurrences types occurrences types c3cf01b.200116 232 149 1831 107 ("new" config) and the according Fossies codespell report URLs https://fossies.org/linux/test/php-src-master.tar.gz/codespell.html (https://fossies.org/linux/test/php-src-master.c3cf01b.200116.tar.gz/codespell.html) (https://fossies.org/linux/test/php-src-master.c3cf01b.200116.tar.gz/codespell_fps.html) JensIt looks even better. If it would be helpful, don't hesitate to request new checks! Here the current spelling error results spelling error false positives PHP occurrences types occurrences types 3c72105.200118 120 87 1827 107 ("new" config) and the according Fossies codespell report URLs https://fossies.org/linux/test/php-src-master.tar.gz/codespell.html (https://fossies.org/linux/test/php-src-master.3c72105.200118.tar.gz/codespell.html) (https://fossies.org/linux/test/php-src-master.3c72105.200118.tar.gz/codespell_fps.html)